from numpy import matrix

##  Represents the bony landmark with its ID, name, relative position and relative sensor ID.
class BonyLandmark:

    ##  The constructor of BonyLandmark.
    def __init__(self, ID=-1, name="undefined", relativePosition=None, sensorID=-1):
        ##  The number ID belonging to this bony landmark.
        self.ID = ID
        ##  The name belonging to this bony landmark.
        self.name = name
        ##  The sensor ID belonging to this bony landmark, formatted as fob0_x.
        self.sensorID = sensorID

        if relativePosition == None:
            ##  The relative position matrix of this bony landmark.
            self.relativePosition = matrix("[0.0; 0.0; 0.0]")
        else:
            self.relativePosition = relativePosition